package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.ActivityRanksDAO;
import top.zywork.dos.ActivityRanksDO;
import top.zywork.dto.ActivityRanksDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.ActivityRanksService;

import javax.annotation.PostConstruct;

/**
 * ActivityRanksServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-05-13<br/>
 *
 * @author http://zywork.top 危锦辉
 * @version 1.0
 */
@Service(value = "activityRanksService")
public class ActivityRanksServiceImpl extends AbstractBaseService implements ActivityRanksService {

    private ActivityRanksDAO activityRanksDAO;

    @Autowired
    public void setActivityRanksDAO(ActivityRanksDAO activityRanksDAO) {
        super.setBaseDAO(activityRanksDAO);
        this.activityRanksDAO = activityRanksDAO;
    }

    @PostConstruct
    public void init() {
        super.init(ActivityRanksDO.class, ActivityRanksDTO.class);
    }
}